# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-seedir
pkgver=0.4.2
pkgrel=1
pkgdesc="Python package for creating, editing, and reading folder tree diagrams"
url="https://github.com/earnestt1234/seedir"
arch="noarch"
license="MIT"
depends="python3 py3-natsort"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://github.com/earnestt1234/seedir/archive/refs/tags/v$pkgver/py3-seedir-$pkgver.tar.gz"
builddir="$srcdir/seedir-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest discover
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
8d16ae1ba020268f9587742cacbc55ecc1d218f36955c625f64829940396c908d0498ee6bf50d560f87b10488dc6daa5698681e10e1699d20d958b3cd58f14c4  py3-seedir-0.4.2.tar.gz
"
